package com.mall.logic.dal.authority;

import java.util.List;
import java.util.Map;

import com.mall.logic.dal.authority.bean.SysMenu;


public interface SysMenuDao {
    int deleteByPrimaryKey(Integer menuKy);

    int insert(SysMenu record);

    int insertSelective(SysMenu record);

    SysMenu selectByPrimaryKey(Integer menuKy);

    int updateByPrimaryKeySelective(SysMenu record);

    int updateByPrimaryKey(SysMenu record);
    
    List<SysMenu> getUserMenu(Integer num);
    
    List<SysMenu> getUserMenu2(Map<String, Object> map);
}